package com.chartboost.sdk.impl;

public class ac
{
  public static String a(Object paramObject)
  {
    StringBuilder localStringBuilder = new StringBuilder();
    a(paramObject, localStringBuilder);
    return localStringBuilder.toString();
  }

  public static void a(Object paramObject, StringBuilder paramStringBuilder)
  {
    ad.a().a(paramObject, paramStringBuilder);
  }

  static void a(StringBuilder paramStringBuilder, String paramString)
  {
    paramStringBuilder.append("\"");
    int i = 0;
    if (i < paramString.length())
    {
      char c = paramString.charAt(i);
      if (c == '\\')
        paramStringBuilder.append("\\\\");
      while (true)
      {
        i++;
        break;
        if (c == '"')
          paramStringBuilder.append("\\\"");
        else if (c == '\n')
          paramStringBuilder.append("\\n");
        else if (c == '\r')
          paramStringBuilder.append("\\r");
        else if (c == '\t')
          paramStringBuilder.append("\\t");
        else if (c == '\b')
          paramStringBuilder.append("\\b");
        else if (c >= ' ')
          paramStringBuilder.append(c);
      }
    }
    paramStringBuilder.append("\"");
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.chartboost.sdk.impl.ac
 * JD-Core Version:    0.6.2
 */